Adds photo path
Removes length limit in salt generation
Adds https urls for rest server