added user authentication to models, views and templates
added registration model, form, view and template