change notice: to flash[:notice]
change order of relationships in user model, add new validations