More integration

Redid alot, can register but not log in.