fixed some kinks with registration. should be functional now