refact(server): move log inside callback
chore(start): open the browser only once