Refactored API POST to own file. Added more statusmessages for register
Added login. Token handling still needs to be better
Added checkbox for remembering password. Added functionality to that too
Altered log in. Saved accestoken to appsettings
Fixed bad cast