Added session variable for user type