added user password encryption