laravel auth trying to get property id of non object