fixed login bug
got a lot more stuff working