Added functionality to allow a user to change their password