Added release function, need to integrate oauth2