chech if user is not null, for deployment
for deployment
for deployment