login logout finally setup