Added password reset functionality;
Fixed db_structure;