renaming the session and refacted the call to get the name only