user registrations

all the indentation changes here courtesy of gofmt