[Dev] Refactored code and added has_training and admin fields to user.
[Dev] Added true persistence(Data saved even after logging out.
[Dev] Added email, do not bug and date of birth fields to user.