Session management and facbook login