Added a BaseController for determining if a user is Authenticated, added redirectes to login and register if the user is authenticated