[Login Module] Few minor changes in register module, Sha-512 exception  added as password encrypter