utilized the User.php for user account interaction