Fixed with the User class and also integrated the use of it when storing user data for session during ValidateLogin