working login stuff

working login stuff