Login working ish, need to add logout and redirect after login