remove is.authenticate function