syntax cleaning; changing devise url to generic