Updated database and login