created a current user method and helper