Fixed login

Changed some login stuff