Added controller.php and user model. Changed session to authenticate a user object