Got user registration working

Signed-off-by: Davinderpal Singh <davinderpalrehal@gmail.com>