logging improved
get user id from alias if it exists