Removed useless has_permission check from logout view