added ConkerFrame and invalid credentials checks + minor refactoring