working on login, need to get cookie