Initial implementation of signed url

Needs testing and unit test