added basic login stuff