Added functions for authorizaion and sending the resume