[#71278158] refactored user can logout method to application controller

Signed-off-by: Ellie Schneiders <ems2141@gmail.com>