Add user rest views and tests