Auto login user after registration