some changes
register functionality using passport