How to get the current user id in the path
I found the answer for this myself. Used the me aliases module. And used the path 'SITENAME/me'. Works perfectly

Provides shortcut paths to current user's pages, eg user/me, blog/me, user/me/edit, tracker/me etc.
This means logged in users no longer have to know/remember their uid, and it makes it easier to link to user-specific pages from a site help page (without resorting to using php to put $user-&gt;uid in the link).