added getUserDetails before show login