add login check before pull user's repo
removed useless params
Merge pull request #630 from dotcloud/check_if_logged_before_pull-fix

add login check before pull user's repo