working on asnp authentication