using new_user_path in place of hardcoding
added files
Pulled view helpers that were being used in the controller out into a separate library and required them in the appropriate files in line with rails convention.

Fixed login to redirect properly and display form errors using a HAML form error partial.