prepare authorize user