fix login bug

fix login bug by create session folder automaticly.