I forgot what was the use of this so i removed this focus thing. Now reverting it back as it is useful when going away from login page, the cursor gets back in captcha field as soon as you come back.