Made module for CONTROLLER. Cleaned up app.js. Handled the login/logout menu dependant on if a cookie exists or not