Added .idea folder to .gitignore
Created a user logged middleware that simulate user in development mode