* Added debug logs * Updated logic to create login form incase of invalid password * Generating key only if session doesn't have it * Updated error handling for all cases * Updated log statements
* Added debug logs * Updated logic to create login form incase of invalid password * Generating key only if session doesn't have it * Updated error handling for all cases * Updated log statements