Added a logout controller