Password recovery implemented

Password recovery works.
TODO: make email a unique feature in the database