added password encryption for user
added password encoding for moodle passwords