redirect to login page if destroying the user session when the current user session is null

instead of throwing an error