Use database when logging in a user

- Remove hardcoded user definitions
+ Authenticate user by searching the database
+ Display more accurate errors when login fails