The actual authentication headers are now able to be easily sent and saved for and after every request to the api.
Added login and registration api calls to the function pool, while the application state is persistet through localStorage. Also (if signed in) the username will be displayed in the navigation bar of the website.