Revert "Revert "Revert "Added logout to UserController"""

This reverts commit 097844e3779d20e834ee97719e0eb97b540dab70.