Added register and user list functions