Added a way to determine if user is an admin in check_credentials.php and continued getting admin page set up.