Fixed guest user functionality.