Database and login updates