added account type to login script

$_SESSION[‘type’] now a variable. also added the four different menu
redirections from login screen. see configuration.php for naming scheme