removed some bad login stuff