implemented user auth using securesocial