Added config for login.
Fixed salt problem (converted to hex now)
Added Intent.
Refactored userid to username.