Implemented the password reset functionality

Change-Id: I4e4f5661acf54de30d8a7fe682d05b8927a81935
Signed-off-by: Dieter Scholz <disc@code2bytes.org>