changed login stuff