added session and unlogin, corrected login