Changed login page to use forms, trying to add CORS