Various fix.
Couple of typo in comments
missing ENGINE=InnoDB DEFAULT CHARSET=utf8 on usersystem table.
added foreign key on usersystem table Login column.
Merge origin/master