//todo putte i hotelcontroller?
 public static bool CheckIfUsernameExists(string username, HotelContext hcx)
 {
     hcx.Users.Load();
     return(hcx.Users.Local.FirstOrDefault(u => u.Username.Equals(username)) != null);
 }