update code with userid null
update code

Conflicts:
	app/controllers/dashboard.php