improvement to login
fix securesocial configuration issue