Changes for passing out logged in user details.