fix bug get current user data
fixed a bug that occurs when no request