renamed specs, and added login_url factory