Bugfixes
Added password recovery, except for sending an email; general bugfixing for error handling