removed extra login stuff