Define these somewhere, since they are repeated in several places.  Also, drop the scheme and use url path, that way you can change the scheme independent of the path names.