Fixed some issues with login

- Fixed some issues with the user class
- Changed to optimistic locking (will have to change this for
production)
- Added owners for Decks and Courses
- removed hasMany from User
- Created class UserLanguageProficiency