Added & modified functions in User.php. Now have login and logout functions that add the user object to ['user'].