use alias from db

get alias from db to compare with new alias instead of using session alias