How to get current user login name using javascript