added if statements to put an 'admin' section in