implemented current user endpoint