added function to handle request for logged in user
added route for getting logged in user info