added content and styles for account-login.html
implemented middleware which converts json requests into a form which Django can handle