Intial work on password recovery and login on index