Implemented Ajax login/logout method,
removed unnecessary DB connectivity checks and redundant require_once calls
Updated readme