login kinda works
minor changes