Turned logout function into logout function instead of login :)