changed login procedure

Committer: singhs.ishwer@gmail.comwq