login procedure (without privileges option)
sendMail function ready to use
ldapauth function ready to use
logout  function ready to use
getDepartmentId  function ready to use
Merge origin/master