added admin page check