fixed login, added checkout