add some sane permission defaults for when config is missing
move PERMS setup from checkperm.inc to prepend.php, add other new functions to prepend
user login management program