registrations + user roles
fix json errors