Creates sign up mechanism, adds password encryption