Added CORS for Microsoft Owin
Added the functionality to login in the repository