Fixed the login issue with checkout