moved get current user to just after login
fixed possible array index out of bounds
Merge pull request #18 from ahuang13/move_linkedin_api_calls

moved get current user to just after login