Added login, logout, register