add login/register logic and (online) user listing