restfull registration