Created User and LoggedUser classes