Added database, update user, fixed endless page