added logger to project. updated auth login method to check logged in status automatically throughtout the CMS.