Fixed: bug in referral system, where it tries to decrypt invalid REFs
Fixed: Password updation bug, where plain, unhashed password is stored in the DB
Removed stray notice in TeamController
Fixed bug in team selection process. General fixes