finished authorization
adding testing