user and pass are added to the database upon login