code formatting. locking api call to my profile only