Updated users controller and tests
Complete migration to enforce user uniqueness at db level
Added password validation