Changes Log In/Log Out added if statements