adding guest functionality