profiles.inc
This file includes all functions to manage account
profiles. You can read/store/list/delete profiles.
Profile names may contain letters, numbers, "_" and "-". All functions
which have a profile name as parameter check this.
Functions which modify the filesystem (saveAccountProfile,
delAccountProfile) also check if the user is logged in to LAM
for security reasons. This is done by reading $_SESSION['logedIn'].