Tidy up User controller and model to adhere to CakePHP coding standards. Make necessary changes to AppController and SessionsController.