Code cleanup.
Do custom checks for password and password_confirmation in users controller.

TODO: this needs to be moved to model layer.
Remove unecessary params from user_params.
Change devise password length validation to minimum of 6.
Fix how we display errors in the view.
Fix bug where function def was incorrect.