Add More Functionality

added settings:
language settings,
memory settings,
session settings.
fix some bugs:
save lastlogin is now correct.
and another