added browser default function, added name to log out