some code cleanup, rewording of an error messages, improvements to the login logic, added script for checking lib version ver:222013031310525