Improvement to login

- Login screen with database improvements