Added and cleaned user signup and authentication