minor bugs fixed. Add in "remember login" switch.