added method to add username to database