Fixed fetching user in site.php
