Added login test and changed logout test, tests somewhat work now