Added register functionality for Users