Added registration page and activity. Wouldn't sync yesterday.. Also
added/changed some helper functions