logging in user after registering...half way there