added new fields to database and authentication