Adding login tests. Fix a error in my routes. Yay testing