Add in some functionality to disallow going to other pages when not logged in.