Removed user register function and added account register function