Made logout a post