Fixed some test typos
Removed some messy code, fixed login information bug
Connected user model with other models