add basic pasword rest functionality