Added Gretchen code including register, login and user models