automating authorization from user