Added logout controller