GUI fixed, password recovery option added, duplicate code removed.