switched login and logout to new api routes
function to change task status