User login decryption fix, and redirect the user to home page