//Validates the user credentials on login
 public string ValidateUser(string mail, string password)
 {
     try
     {
         return(userCtrl.ValidateUser(mail, password));
     }
     catch (Exception ex) { throw ex; }
 }