Add authentication and bugfixes

Add authentication route
Store the Hex value of a PBKDF2, because the string value can't be un-
stringed
Authenticate a user