Added check to admin page