Add user login/logout/register prototype