public struct function getLoggedInUserDetails()
Returns the structure of user details belonging to the currently logged in user. If no user is logged in, an empty structure will be returned.