Database now saves username and password