Added functionality to change the password