updated sign up and added authentication