cleanup application component
implementlogout functionality