bug fixes and forgot password code