Some login form middleware created and added to settings