starting to work on get api for accessing profile details when not logged in