Updated: login, logout features