Changed username to email as unique key for users. Email is now used when authenticating. Added firstName and lastName to user.